Skip to content

feat(synthetics): support for private location resource#696

Merged
biscout42 merged 17 commits into
elastic:mainfrom
biscout42:kibana-synthetics-monitor-resource
Aug 6, 2024
Merged

feat(synthetics): support for private location resource#696
biscout42 merged 17 commits into
elastic:mainfrom
biscout42:kibana-synthetics-monitor-resource

Conversation

@biscout42
Copy link
Copy Markdown
Contributor

@biscout42 biscout42 commented Aug 2, 2024

Part of #610

TODOs:

  • Get feedback about private location (PL) schema
  • Add unit tests for PL schema
  • Handle PL NotFound
  • Documentation of PL

Comment thread internal/kibana/synthetics/monitor_http/schema.go Outdated
Comment thread libs/go-kibana-rest/kbapi/api.kibana_synthetics.go Outdated
Comment thread .github/workflows/test.yml
Comment thread internal/kibana/synthetics/monitor_http/schema.go Outdated
Comment thread internal/kibana/synthetics/private_location/schema.go Outdated
Comment thread internal/kibana/synthetics/schema.go Outdated
@biscout42 biscout42 marked this pull request as ready for review August 5, 2024 15:47
@biscout42 biscout42 requested a review from tobio August 5, 2024 15:47
@biscout42 biscout42 enabled auto-merge (squash) August 5, 2024 16:04
Copy link
Copy Markdown
Member

@tobio tobio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, are you able to add an entry to CHANGELOG.md for this one and add the doc template/examples.

🎉

Comment thread internal/clients/api_client.go
Comment thread internal/kibana/synthetics/private_location/schema_test.go
Comment thread docs/resources/kibana_synthetics_private_location.md
@biscout42 biscout42 requested a review from tobio August 6, 2024 08:07
Copy link
Copy Markdown
Member

@tobio tobio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, some small changes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be named kibana_synthetics_private_location.md.tmpl. TBH I think I've done this exact thing for 9/10 new resources.

Comment thread templates/resources/kibana_synthetics_private_location.tmpl
@biscout42 biscout42 merged commit f417c7c into elastic:main Aug 6, 2024
@tobio
Copy link
Copy Markdown
Member

tobio commented Aug 6, 2024

Sorry @biscout42, I forgot to check if auto-merge was on. Are you able to fix the template filename in a follow-up?

@biscout42
Copy link
Copy Markdown
Contributor Author

@tobio , sorry, will do.

biscout42 added a commit to biscout42/terraform-provider-elasticstack that referenced this pull request Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants